<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of MCommunityBar
 *
 * @author nguyenthetai
 */
class MCommunityBar {

    public $_eventLst;
    public $_feelingLst;
    public $_articleLst;
    public function  __construct() {
    }
    public function getEventLst($quatity){
        /*
         * events (
         *  array( "title"=>, "image"=>, "content"=>, "author_name"=> ),
         *  array(),...
         * )
         */
        return $this->_eventLst;
    }
    public function getFeelingLst($quatity){
        /*
         * feelings
         * (
         *  array("book_title"=> ,"book_cover"=> ,"content"=> ,"author_name"=> ),
         *  array(),...
         * )
         */
        return $this->_feelingLst;
    }
    public function getArticleLst($quatity){

        /*
         * articles
         * (
         *  array( "topic"=> ,"avatar"=> ,"content"=> ,"author_name"=>),
         *  array(),...
         * )
         */

        return $this->_articleLst;
    }
}
?>
